Started unit testing for RepositoryService