They have a quota of how many to pass in a week/month. Your mate was just one of the unlucky ones.
You don't seriously believe that, do you? Put it this way, if it was first come first served, pass up to a quota, why have a test at all? What muppetry.