Test nested objects