Refactor Request, Memory-DB, Client Test Helper