Test parsing of nested objects