* Skip test when function not available.
* Refactored convertToOsSlash.
* Convert path slashes when checking if a path is white listed.