added tasks controller spec coverage