Using mocha and chai instead of jasmine