        }, 10);
      }

      beforeEach(function(done) {
        table = fixture('table');
        table.items = ['foo', 'bar', 'baz'];
        first = table.querySelector("#first");
        second = table.querySelector("#second");
        input = table.querySelector("#third");

        //100ms to take into account the debounce on _loadPage.
        table.async(done, 100);
      });

      function assertSelected(selected) {
        expect(table.selectedItem).to.eql(selected);
      }

      describe('by 