add test for float in structure