Make unittest test runner work in older pythons