updating travis config and adding mocha tests