test: fix test-os on Windows

Fixed two small test issues