Use pathSeparator in Pathtest.