They'd be right about that. Experience in and of itself counts for nothing. There are a great many programmers who have years of experience programming badly. Nor have I ever met a great programmer who cared a fig about how many years of experience they or anyone else had.
Good luck figuring out from a programming test whether someone is actually going to add value (rather than just be good at solving tests). Experience delivering quality work on time is a reasonable predictor of future success.
Those two look mostly the same on paper. I've looked at the linked-in profiles for people that I've worked with before. There are ones who absolutely sucked and were a net negative for the team, but who "helped deliver feature X" or "drove completion of project Y", but in fact, they probably actually delayed or at least lowered the quality bar of those very things they tout.
What counts is the value you can add now.