Add unit tests for windows joinPath