Merge "Expose setInstallFlagAllowTest testAPI" into sc-dev