change to use Mocha for testing framework