The changes support helper methods in org.openmrs.scheduler.web.controller.SchedulerFormControllerTest, in particular  waitUntilTaskIsExecuting() and waitUntilTaskHasStopped(). Before the change, the HelloWorldTask did not update the state of the task so that assertions on its isExecuting() method were not possible.