Fix building/running tests on windows

Fix a few minor details in the latest updates of the tests. Actually running/building the tests on windows still is tricky due to the OpenSSL dependency though.