Test for create Repository