DONE: fixed potvariablesTest.py