update functional tests