       expect(children.length).to.equal 0
 
     it 'should reuse views on reset', ->
+      expect(_.isObject(collectionView.viewsByCid)).to.be.ok()
+
       model1 = collection.at 0
       view1 = collectionView.viewsByCid[model1.cid]
-      expect(view1).to.be.a ItemView
+      expect(view1).to.be.an ItemView
 
       model2 = collection.at 1
       view2 = collectionView.viewsByCid[model2.cid]
-      expect(view2).to.be.a ItemView
+      expect(view2).to.be.an ItemView
 
       collection.reset model1
 

      addThree()
      filterer = (model, position) ->
        model.get('title') is 'new'
      callback = (view, included) ->
        view.$el.css('background-color', 'rgb(255, 0, 0)') if included
      collectionView.filter filterer, callback

      expect(collectionView.visibleItems.length).to.equal collection.length

      children = getViewChildren()

      collection.each (model, index) ->
        $el = children.eq(index)
        rot = model.get('title') is 'new'
        displayValue = $el.css('background-color')
        if rot
          expect(displayValue).to.equal 'rgb(255, 0, 0)'
        else
          expect(displayValue).to.equal ''

    it 'should dispose itself correctly', ->
      expect(collectionView.dispose).to.be.a 'function'

      # Complete replacement
      baseResetAndCheck [m0, m1, m2], [m3, m4, m5]

    it 'should filter views and hide them per default', ->
      addThree()
      filterer = (model, position) ->
        expect(model).to.be.a Model
