(using the Mocha test framework for the latter)