Perhaps this is a better expected HTML result. And don't simulate key.
We will test the specific function directly later on.