Add unit test for SourceMapRegistry class