edit functional_test.py