Problem #1
Almost all tests/interviews in the world are bad metrics of judging a candidate. Merit is much more deeper a concept that this.
Problem #2
There are too many applicants. Somehow we've made it extremely normal to apply even if we don't fit the criteria.
So they invented Referrals. Transitivity property. I trust the guy you already trust.
And people gamed that too 🤷🏼