fix export tests for Windows