Write config files where they should be, and run mongo to test properly.