Fix failing tests on some windows environments

For example, TestUtil.isWindows() returns false in windows 8, and the tests might fail.
The condition is fixed to correctly handle environments, especially for "Windows 8".
Merge pull request #75 from wookayin/fix-test

Fix failing tests on some windows environments