adding some unit tests to MyAlarms class