Undo change to get test working on Windows

This change was already made on master, in a better way