Update unit test to get tasks from ctrl not scope