adding test for client error handler using server error handler