Added test for structure with params