:add: UT for task.new_conf and task.run_task