Test deeply nested properties with undefined element