An example using mocha as the test runner and chai for assertions