Adding NODE_ENV = test on mochacli + generating test.json config file.