Use AlarmManager to schedule the tests