Update test to verify the json returned.