updated unit tests to make sure that result is present in the task details but not task list