Bug 987350 - Migrate alarm_test.js to use new view code r=millermedeiros