Update amaintest.py