Clean up test resources.