Tests: Add config test for mongo.