Updated HTMLTextTest to test for correct testFirstSentence

Specifically a past failing test case. fixes #1422