chai extensions
work on xhr requests with sinonjs
deferred tests with sinon