Should this test go above the previous line? If the response fails, the JSON might fail to parse and throw an exception