test(appalert): 100% karma unit test coverage