Wrote PackageManager._repository_add_command tests.