Add tests for Alarm model