test creating a repository