S-48712  Added the first mocha test. Refactoring is coming.