Add tests for embedded structures