Refactoring: Updated HtmlClosingParser to HtmlClosingSubParser, including test cases and mock objects