mlpaths, pathjoin, pathsplit tests and implementation