Clean-up test metadata helper.