Words are rarely restricted to their denotative (dictionary) meanings. There are often abstract, connotative meanings attached to them by speakers. For example, consider the following list of words.
Hello. Hi. Hey.
These words all have the same basic denotative meaning. They're all a greeting. Yet, there is a subtle connotation of formality which is rarely described in a dictionary.
These types of connotation are not often understood by beginning language learners. It's something they acquire with time and experience in using the language. While a teacher or search could share about the formalities, the language learner is still going to require time in applying those words in different contexts to fully understand these subtleties.
When I tell people a story about the history of the french revolution or something, I don't have the opportunity to go research it beforehand. I've already done that research, and I've already thought about those events for months or years, which gave me the opportunity to synthesize an insight or opinion I wish to share.
You don't get that if you don't know things in your head.
Yet I don't know a lick of Go. If I were to open up a Hello World tutorial for Go during the interview, would I honestly still have a shot?
You may be well aware of this, but you've essentially converged on the classical Chinese Room thought experiment [0]. It's usually applied to the philosophical question as to what does and does not constitute intelligence in the context of AI, but it's interesting how it is also applicable to what does and does not constitute knowledge in the context of learning.
Perhaps tests are to make sure that you are a going to be colleague worth consulting then? Yes, pure memorization and recall of facts is less valuable now than before, but knowing how to apply the facts available to you is still a skill worth having, and similarly worth testing. Those skills can also be assessed using written tests, and the potential for cheating is just as on memory tests.
what is the point in artificially creating a test situation where the student is isolated from resources she'll have at her disposal in real life
Let's take language learning as an example: do you consider a foreigner with a dictionary to be just as expressive as a native speaker? Perhaps there is value in testing the immediate knowledge of the student rather than their lookup skills?