try and make test runner portable