added alarm test program