added tests of ErrorResponse
Response classes were refactored