Minor updates to test.py