testing for repository