Modified to support Mocha instead of Jasmine