Fix snapshot test windows

Fixed test to be windows-aware.
looks like you might have a duplicated line here.