patching testsuite