Using recommendations from the following url:
https://www.terlici.com/2014/09/15/node-testing.html
https://www.terlici.com/2015/04/03/mongodb-node-express.html
https://www.terlici.com/2015/04/03/mongodb-node-express.html
https://www.terlici.com/2015/09/21/node-express-controller-testing.html
https://www.terlici.com/2014/08/25/best-practices-express-structure.html
To start the application use the following command DB=prueba DEBUG=myexpress:* npm start