fix String.pathmap & move its tests under mruby