Add code coverage for mocha tests