.length, 7);

    const vsg = g.viewSubGroups;
    assert.strictEqual(vsg.length, 4);
    // Groups must be sorted by title.
    assert.strictEqual(vsg[0].title, 'Frame:ptr:0x1ee7beef');
    assert.strictEqual(vsg[1].title, 'Frame:ptr:0xdeadbeef');
    assert.strictEqual(vsg[2].title, 'Loading');
    assert.strictEqual(vsg[3].title, 'VeryBusy');
    // Check nested view sub-groups.
    assert.strictEqual(vsg[2].viewSubGroups.length, 0);
    assert.strictEqual(vsg[3].viewSubGroups.length, 0);
    const wf1vs