Add complete_task factory, refactor related tests