add more test for error response class