
          input.click();

          table.async(function() {
            expect(spy.callCount).to.eql(0);
            done();
          }, 250);
        });

        it('should update selectedItem(s)', function(done) {
          first.addEventListener('value-changed', function(e) {
            expect(table.selectedItem).to.eql('foo');
            expect(table.selectedItems).to.have.members(['foo']);

            done();
          });

          first.click();
        });
        it('should update [[selecte