test for creating a new repository