Test for repository