estcolumn");
    column.label.should.equal("Foo");
  });

  it("should have default sortOrder", function() {
    var column = document.querySelector("#testcolumn");
    column.sortOrder.should.equal(column.SORT_DEFAULT);
  });

  it("should have a sortField equal to field", function() {
    var column = document.querySelector("#testcolumn");
    column.sortField.should.equal(column.field);
  });

  it("should toggle the sortOrder when clicked", function() {
    var column = document.querySelector("#testcolu