Added test for sgmtorawmapper