Problem is that all status symbols in the programming world are meaningless, so in the absence of any useful metrics, we latch onto useless ones.
Tests/LOC at least measures something, even if it is imperfect. It's probably better than measuring LOC themselves, which are often a long term cost for the company, not a benefit.