new test methods that verify objects against their JSON definitions