Talking with Oompa Loompas: A novel framework for evaluating linguistic acquisition of LLM agents