made the test runner work on python2 & 3, so travis can hopefully run it without extra dependencies