Use temporary mongo databases for tests.