Merge "Refactoring PackageManagerHostTests helper functions into a utility class for easier sharing with future stress tests."