Fix tests after URLClassloader change.