Updated remove-repo function under content-view and updated a test to test it