created test for scheduler.RemoveTask