test of creating a repository