Fix tap tests on Windows

Before they would always be 0/1 tests, and a failure. Now they work as intended.