Switch to environment variables with mongo test configuration