Test: Fixes for Windows, see #413 (comment).