test for creating repository