Test repository for a simple memory management