TEZ-891. TestTaskScheduler does not handle mockApp being called on different thread (bikas)