Testing creating a repository