test: fixes to work with Windows