I agree, but these are also hard to test in an interview.
But you can.
I tend to use "progressive interviewing" - I have some topic I know a lot about and I have a chat with them. If they do well, I crank up the difficulty, if they are struggling I crank it down.
It means that nearly all the candidates get most of the interview "right", so people don't have to panic; and it also means that I am certain to ask some questions that the candidate won't be able to answer, and I can see how they deal with new knowledge.
I have had many people tell me, "I think I failed the interview but this was one of the most interesting interviews I have had." Sadly, they were generally right, but very few times have I had a truly miserable interview.
Since I'm free-associating, I remember one interview for Google where the candidate completely froze and could barely communicate with any of us. It was awful for everyone. After three or four such interviews, they had to send him home - and even though they told him, "This doesn't count, you can try again later," I felt the poor lad was devastated.