include more details in error

In case a HTTP request doesn't return valid JSON, it is better to include some more details from the response in the fake response hash.

Also combined a tests which didn't make much sense to test independently.