refactor verifyText in b3 tests