Moving logger and wait in RiverMongoDBTestAsbtract