testsuite: clean metadata *before* reinstallation