added test for nested properties validation