Move to mocha for testing