Fix Failing Tests on Windows