You should have a unit test to validate JSON coming back