Clean up test dependencies.