I see the point. Still you're not testing how the candidate works. No one knows everything about everything. We are looking for the right team member to solve business problems, full stop. Shipped code always wins over the perfect algorithm sketched on the whiteboard.