better test harness; run python2 tests.py