update functional test

update functional test