Added tasks controller full test coverage