Test to delete a repository