fixed typo in mocha test