add test for nested objects+arrays