windows test fix

most of the test work, and this fix should not interfere with unix tests
Fixing a bit platform aware test script