Added mocha for some unit testing and added the first passing test.