Copied some of the Alarm functionality into Settings with a view to getting rid of Alarm altogether
basic unit test for Settings