You are right that the test should pass even if saveRegistry is not called, which is not such a great thing.