Fixing tests for running in standalone.
Fixing some standalone mongo things.