Fix snapshot test windows

Fixed test to be windows-aware.
Good catch. Fixed.