Fixed incomplete update of apptest.py.