add test for empty structures