Reset registry for testing