Added test for RegisterMappingsPass