Why does this look at innerText, but other tests check a call counter? It might be simpler to check the call counter.