Update functional_test.py