Updating alert and alerts View's, adding test cases for alerts