         viewsMatchCollection()
 
       it 'should call a custom initItemView method', ->
+
+        class CustomViewCollectionView extends CollectionView
+          tagName: 'ul'
+          animationDuration: 0
+          initItemView: (model) ->
+            #console.debug 'TestCollectionView#initItemView', model
+            new ItemView {model}
+
         createCollection()
         initItemView = sinon.spy CustomViewCollectionView.prototype, 'initItemView'
         collectionView = new CustomViewCollectionView {collection}

    collection = null
    collectionView = null

    # Test view classes
    # -----------------

    # Item view class

          expect(children.length).to.be collection.length

        it 'should respect the itemSelector property', ->

          # A CollectionView class with non-view child elements
          class MixedCollectionView extends TestCollectionView
            itemSelector: 'li'
            templateFunction: (templateData) ->
              """
              <p>foo</p>
              <div>bar</div>
              <article>qux</article>
              <ul>
              <li>nested</li>
              </ul>
              """
            getTemplateFunction: ->
              @templateFunction

          collectionView.dispose()
          collectionView = new MixedCollectionView {collection}

