     ["Carol",   "female",   "yellow",    "1983-12-08",   102,        14]
 ]
 
-describe "pivot() with no rows/cols, default count aggregator, default TableRenderer",  ->
+describe "$.pivot() with no rows/cols, default count aggregator, default TableRenderer",  ->
     table = $("<div>").pivot fixtureData
 
-    it "loads a table", ->
+    it "renders a table", ->
         expect table.find("table.pvtTable").length
         .toBe  1 
 
-    it "has a correct grand total with data value", ->
-        expect table.find("td.pvtGrandTotal").text()
-        .toBe  "4"
-        expect table.find("td.pvtGrandTotal").data("value")
-        .toBe  4
-
-describe "pivotUI() with no rows/cols, default count aggregator, default TableRenderer",  ->
+    describe "its renderer output", ->
+
+        it "has the correct textual representation", ->
+            expect table.find("table.pvtTable").text()
+            .toBe ["Totals", "4"].join("")
+
+        it "has a correct grand total with data value", ->
+            expect table.find("td.pvtGrandTotal").text()
+            .toBe  "4"
+            expect table.find("td.pvtGrandTotal").data("value")
+            .toBe  4
+
+describe "$.pivotUI() with no rows/cols, default count aggregator, default TableRenderer",  ->
     table = null
 
     beforeEach (done) ->
         table = $("<div>").pivotUI fixtureData, onRefresh: done
-
-    it "loads a table", (done) ->
-        expect table.find("table.pvtTable").length
-        .toBe  1 
-        done()
-
     it "has all the basic UI elements", (done) ->
         expect table.find("td.pvtAxisContainer").length
         .toBe  3

            .toBe  1 
            done()

        it "has a correct grand total with data value", (done) ->
            expect table.find("td.pvtGrandTotal").text()
            .toBe  "0.20"
            expect table.find("td.pvtGrandTotal").data("value")
            .toBe  (12+25+30+14)/(103+95+112+102)
            done()

describe "custom renderer passed to pivot() with no rows/cols, custom aggregator",  ->
    received_PivotData = null
    received_rendererOptions = null
    pivotOptions =
        aggregator: -> 
            count2x: 0
            push: -> @count2x +=2 

            .toBe  1 
            done()

        it "has the correct textual representation", (done) ->
            expect table.find("table.pvtTable").text()
            .toBe ["Totals", "4"].join("")
            done()

        it "has a correct grand total with data value", (done) ->
            expect table.find("td.pvtGrandTotal").text()
            .toBe  "4"
