[BACKLOG-194] -- Added unit tests for RepositoryResource