Omit test resolving ~ on Windows

~ test fails on Windows.