Cleaned up test.py