Crossplatform test

merge both win+linux.
Not yet tested in linux, but I copy-paste from your linux test code.
Merge pull request #1 from x2nie/master

Crossplatform test