added test for alarm status