test creation of a repository