         ]
       }
 
-    describe "split time; apply count; combine not by time", ->
-      it "should have the same results for different drivers", testEquality {
+    it "split time; apply count; combine not by time", testEquality {
         drivers: ['mySqlCached', 'mySql']
         query: [
           { operation: 'filter', type:'within', attribute:'time', range: [ new Date(Date.UTC(2013, 2-1, 26, 0, 0, 0)), new Date(Date.UTC(2013, 2-1, 27, 0, 0, 0))] }


    after -> allowQuery = true

    describe "filter; split time; apply count; split time; apply count; combine count descending", ->
      it "should have the same results for different drivers", testEquality {
        drivers: ['mySqlCached', 'mySql']
        query: [
          { operation: 'filter', type:'within', attribute:'time', range: [ new Date(Date.UTC(2013, 2-1, 26, 0, 0, 0)), new Date(Date.UTC(2013, 2-1, 27, 0, 0, 0))] }
          { operation: 'split', name: 'Language', bucket: 'identity', attribute: 'language' }
          { operation: 'apply', name: 'Count', aggregate: 'sum', attribute: 'count' }
          { operation: 'combine', combine: 'slice', sort: { compare: 'natural', prop: 'Count', direction: 'descending' }, limit: 5 }
          { operation: 'split', name: 'Namespace', bucket: 'identity', attribute: 'namespace' }
          { operation: 'apply', name: 'Count', aggregate: 'sum', attribute: 'count' }
          { operation: 'combine', combine: 'slice', sort: { compare: 'natural', prop: 'Count', direction: 'descending' }, limit: 5 }
        ]
      }

  describe "handles filtered splits", ->
    setUpQuery = [
      { operation: 'filter', type:'within', attribute:'time', range: [ new Date(Date.UTC(2013, 2-1, 26, 0, 0, 0)), new Date(Date.UTC(2013, 2-1, 27, 0, 0, 0))] }
      { operation: 'split', name: 'Language', bucket: 'identity', attribute: 'language' }
      { operation: 'apply', name: 'Count', aggregate: 'sum', attribute: 'count' }
      { operation: 'combine', combine: 'slice', sort: { compare: 'natural', prop: 'Count', direction: 'descending' }, limit: 5 }
      {
        operation: 'split'
        name: 'Namespace'
        bucket: 'identity'
        attribute: 'namespace',
        bucketFilter: {
          prop: 'Language'
          type: 'in'
          values: ['en', 'de']
        }
      }
      { operation: 'apply', name: 'Count', aggregate: 'sum', attribute: 'count' }
      { operation: 'combine', combine: 'slice', sort: { compare: 'natural', prop: 'Count', direction: 'descending' }, limit: 5 }
    ]

    before (done) ->
      driverFns.mySqlCached({query: setUpQuery}, (err, result) ->
        throw err if err?
        done()
        return

        ]
      }

    it "split time; apply count; filter within another time filter", testEquality {
        drivers: ['mySqlCached', 'mySql']
        query: [
          { operation: 'filter', type:'within', attribute:'time', range: [ new Date(Date.UTC(2013, 2-1, 26, 0, 0, 0)), new Date(Date.UTC(2013, 2-1, 26, 12, 0, 0))] }
