alarm test script