changes to enable mocha with travis