write tests for the edit and update actions for the sec. alert
controller