beginning Mocha test functionality