don't register error handler in test