Merge pull request #6388 from gabor-mezei-arm/6308_bp_228_missing_initialization_in_test

[Backport 2.28]  Add initialization for structures in test