Add integration tests for server errors
The server itself should not only be checked for success or failure, but if the error messages correspond to the expected error.
The server itself should not only be checked for success or failure, but if the error messages correspond to the expected error.