Add functional tests in verify and merge

No match.