Reduce duplication in Edge tests.