Copied new version of run_tests.py from dbfread.