Added some tests to mocha