Wrote ScorePackageManager.fix_package() tests.