BUG/TST: test fixes for windows compat

closes #4122