Started integrating mocha into tests