Add test for alarm manipulation