test for structures