Test for Repository