can you check the actual textContent in headerText ? because at the end we don't really care that updateComposerHeader was called, rather we want to check that the text is correct.