Wrote PackageManager._is_up_to_date() tests.