fix test issues on Windows (closes gh-74)

Thanks Herve Chardenoux