finish initial link contract generator for one test case