Add test for nested properties