 
 assert = require "assert"
 should = require('chai').should()
+expect = require('chai').expect
 doofinder = require "../lib/doofinder.js"
 
 mock =

      client.setSort(mockSort.String)
      querystring = client.makeQueryString()
      querystring.should.be.equal 'hashid=ffffffffffffffffffffffffffffffff&sort=price'

      querystring.should.be.equal 'hashid=ffffffffffffffffffffffffffffffff&type=product&type=categoryB'

    it 'setSort', ->
      # Test for setSort. Can be setted object, array and string types.
      client = new doofinder.Client mock.request.hashid, mock.request.api_key
      mockSort =
        Object:
