added JSON parse error spec for non 200 responses