Mocha BDD framework for unit testing