created test for notification_controller