test creating Repository