anchor.diff:    setUpAll(() => updateLocalBuiltFiles());
   
     group('old api', () {
  -    scopedTest('/packages.json', () async {
  -      final backend =
  -          BackendMock(latestPackagesFun: ({offset, limit, detectedType}) {
  -        expect(offset, 0);
  -        expect(limit, greaterThan(pageSize));
  -        return [foobarPackage];
  -      }, lookupLatestVersionsFun: (List<Package> packages) {
  -        expect(packages.length, 1);
  -        expect(packages.first, foobarPackage);
  -        return [foobarStablePV];
  -      });
  -      registerBackend(backend);
  +    testWithServices('/packages.json', () async {
         await expectJsonResponse(await issueGet('/packages.json'), body: {
  -        'packages': ['https://pub.dev/packages/foobar_pkg.json'],
  +        'packages': [
  +          'https://pub.dev/packages/foobar_pkg.json',
  +          'https://pub.dev/packages/lithium.json',
  +          'https://pub.dev/packages/helium.json',
  +          'https://pub.dev/packages/hydrogen.json',
  +        ],
           'next': null
         });
       });
   
  -    tScopedTest('/packages/foobar_pkg.json', () async {
  -      final backend = BackendMock(lookupPackageFun: (String package) {
  -        expect(package, 'foobar_pkg');
  -        return foobarPackage;
  -      }, versionsOfPackageFun: (String package) {
  -        expect(package, 'foobar_pkg');
  -        return [foobarStablePV];
  -      });
  -      registerAccountBackend(AccountBackendMock(users: [
  -        User()
  -          ..id = 'hans-at-juergen-dot-com'
  -          ..email = 'hans@juergen.com',
  -      ]));
  -      registerBackend(backend);
  +    testWithServices('/packages/foobar_pkg.json', () async {
         await expectJsonResponse(await issueGet('/packages/foobar_pkg.json'),
             body: {
               'name': 'foobar_pkg',
  
positive.code:       await expectHtmlResponse(await issueGet('/packages?page=2'));
      });
  
      tScopedTest('/flutter/packages', () async {
        registerSearchService(SearchServiceMock(
          (SearchQuery query) {
            expect(query.offset, 0);
            expect(query.limit, pageSize);
            expect(query.platform, 'flutter');
            expect(query.isAd, isFalse);
            return SearchResultPage(query, 1, [
              PackageView.fromModel(
                  package: foobarPackage,
                  version: foobarStablePV,
                  scoreCard: null)
            ]);
          },
        ));
        final backend = BackendMock(
          lookupPackageFun: (packageName) {
            return packageName == foobarPackage.name ? foobarPackage : null;
          },
          lookupLatestVersionsFun: (List<Package> packages) {
            expect(packages.length, 1);
            expect(packages.first, foobarPackage);
            return [foobarStablePV];
          },
        );
        registerBackend(backend);
        registerAnalyzerClient(AnalyzerClientMock());
        await expectHtmlResponse(await issueGet('/flutter/packages'));
      });
  
      tScopedTest('/flutter/packages&page=2', () async {
  
negative.code: 
  import 'package:test/test.dart';
  
  import 'package:pub_dartlang_org/frontend/backend.dart';
  import 'package:pub_dartlang_org/frontend/models.dart';
  import 'package:pub_dartlang_org/frontend/name_tracker.dart';
  