       actual = _.map @albums.typeahead('you'), (a) -> a.get('name')
 
       actual.should.eql.expected
+      @albums._adjacency['y'].length.should.eql 1
 
     it 'should handle changing a typeahead attribute value', ->
       model = @albums.findWhere(band: 'Rick Astley')

      actual = _.map @albums.typeahead('ti'), (m) -> m.get('name')

      actual.should.eql expected

    it 'should handle removing a model', ->
      @albums.remove @albums.where(band: 'Queen')

      actual = _.map collection.typeahead('b'), (m) -> m.get('name')

      actual.should.eql expected
      collection._adjacency['b'].length.should.eql 3

    it 'should handle an empty collection', ->
      class TestCollection extends Backbone.TypeaheadCollection
