Added an error message to coverage test in case mocha tests fails