Test to set up a repository