Quick fixes for test.py