added tests for alarm status handler