mock test alarm class