Moved tests to mocha