Wrote ScorePackageManager.revert_to_repository() tests.