Added Alarm.java's self test

Called it alarmTest() and also had to make Sleeps as a static
Runnable().