Add test for toggling alarm