added test cases for repository