it looks like wrapping a JSON.parse(res.body) changes the outcome of the test, as if the hanging or not depends on timing