Getting good at that sort of test helps with interviews at Google and likely other large software companies. Personally though, I ask candidates to either:
As a freelancer, I also declined such requests. I once asked to come in and work with their team, they accepted and we had a great time.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.