Fix unit test, which also had bad alarm flag