BUG/TST: test fixes for windows compat
Merge pull request #4123 from jreback/win_bug

BUG/TST: test fixes for windows compat