Mocha refactor

Updating tests to use mocha rather than expresso which has been abandoned.