Adds error tests for most status codes