Fix small bug in LoadPackageTest