Fixed testEquals() of AlarmTest.