[TASK] Add unit tests for HtmlParser::getSubpart()