test to create a repository