Fixed getEarliesAlarm test