testing settings.env and process.env.NODE_ENV