Added unit tests for HtmlElementExtensions.