adding test for custom error handler functionality