Testing out a repository which has design patterns