I'd rather it be like passing the bar, accounting exams (CPA etc) or actuarial exams. They test very relevant deep knowledge and act as a proof of fundamentals - and software engineer does have technical fundamentals that could just as well be tested for in a meaningful way.