increasing DeferredPool test coverage by covering all possible next_task outcomes