Merge "Fix test failure not hold Object of PackageMonitor" into main