fixes cygwin issues with tests. uses cygwins cygpath to convert windows ...

...paths to native cygwin paths