refactor DAO tests, regroup common helpers
implement get in func key service