Add test for getting and setting nested properties