test: fix functional tests