BUG/TST: test fixes for windows compat

closes #4053