Errors fixed in do_test.py