Adapt YamlImpoter to new constructor of Task and Testcase