Add minor testing for repository object