Compare the content string with the expected