Added tests for MapBackedRegistry.