Add spec for Application.notify_error