I personally hate take home tests that you aren’t compensated for, but I see your point. As to your last point, depends on your definition of “couldn’t code”. I think we tend to give the hiring and HR at companies like google too much credit. Things still slip through the cracks, especially at an organization of that size.