updated/functional test.py