update Mocha call to work for all envs