This is orthogonal to standardized testing.
At UC Berkeley L&S, students are undeclared by default, and everyone is incentivized to take the intro CS classes (CS10, CS61A) irrespective of aptitude because worst case they can declare a CS minor or use the classes for other adjacent degrees (eg. Applied Math, Data Science).
Additionally, while Cal doesn't require standardized tests, most students who applied and attended already took the SAT, ACT, and APs becuase they cross-applied to other universities as well. This is reflected in UC Berkeley's HS Weighted GPA being in the 4.31-4.65 range [0], which means most students will have taken at least 6 AP classes.
Hell, I attended an Ivy and even then Cal was a target program for me, as well as my peers. If I didn't get into my Ivy I would have ended up at Cal and ended up in the same position.
[0] - https://admissions.berkeley.edu/apply-to-berkeley/student-pr...
CS is now in the College of Computing, Data Science, and Society instead of the College of Letters & Science