Add DatabaseFactory static config method and tests