Update functional test