test error event sends test