Mocha tests have been based and is now included in a seperate test.js file