fixing tasks_controller tests