testing with error handler, testing with email