Split up tests for test_registry.