Get text from the header and validate the text as expected

More here: