Is there anyway to change the test to assert the same things? I don't think adding a new method to the registry API is the right call here