fix tests
fix nested object
udpate tests