It's because they're not programming tests, but IQ tests with CS concepts as their medium. They want smart people so they test for it the best way they can (i.e. in ways that won't run afoul of employment laws).
The problem is when the random nothing-but-CRUD companies/startups think they need google-caliber engineers.