add merge-threshold to test_task and parse it in utils/task.py