Moved test file to mocha