testing of creating a repository