Fixes #436 #522 (closed) and #543
Root cause was the improper backslash handeling. I have implimented the fix suggested in #436 and ammended the reference data in the tests so they now pass on Windows. I also created an is_windows
variable bassed on detecting the platform, and skipped tests that were failing due to differences in the path sep and drive character.