Fixes tests by renaming 'tasks' to 'task' in the controller tests