I would rather spend 3-4 hours working on a take home test rather than writing on whiteboard.
Last year, I did take home test for 5 different companies and all 5 of them invited me to the next round. I yet to have a successful whiteboarding interview.