test(http): Verify bad JSON triggers http.get()'s onError

Closes #230