removing useless spaces
removing newline escape
some coverage for print_list_of_tasks
DRYing up the task list tests