OK, made the module configurable by adding a platform parameter.
Many (42) of the tests fail on windows, including the 'non-windows' version of the test I added.
However, the windows version does pass. Hopefully this will pass in travis.
(We should really fix the tests so that we can build/test on windows ;-)