Added tasks controller spec.