Refactor os.platform() tests
Merge pull request #656 from brunch/topics/isWindows

Refactor os.platform() tests