test creating repository