Fix test failures by clearing out the registry for tests that try to show that the registry is left clean.