testsuite: clean metadata before updating