Making the test suite compile clean. Needs further refactoring for
testing if correct task is started.