test for nested objects in args