some tests to clarify what convertToNativePath does. Issue #3872

I have added some tests as a start to clarify what convertToNativePath is doing. I can rename the method (should I copy it and deprecate the old one?).