Took error into account on superagent tests

We were using `superagent` incorrectly.

Since we did not pass along the errors in the `end()` function, it would always continue to the next test as if it had been successful.

This could have caused false positives / negatives.