Add functional tests for replacing the original tab for verification in the iframe flow.