MOD: renamed ConvertPath function, some testing facilities