Changed tests to used MONGODB_URL env var if available