Changed testing framework to mocha + chai