basic alarm functionality test