You should have a unit test that validates that updateWithJSON works properly.