added spec for successful and failed alert creation
fixed validation error spec