[no-task]: added tests for the alert controller