added test for getting list of tasks through dispatch controller