made changes to tasks controller,  note and tasks  tests