write sample mocha unit tests