added new test file for nested objects and arrays