I believe that general aptitude tests are illegal. You can only test a job candidate for skills that directly related to the job they are being considered for. General aptitude tests were seen as an offshoot of ‘Literacy Tests’ that excluded black people from voting etc.
They have work-arounds for it. The “behavioral based” interview, the aptitude tests devised by psychologists, etc.