test create a repository