[Bug 871581] Added unit testing with mocha
Merge pull request #6 from ksedge/bug871581

[Bug 871581] Added unit testing with mocha