HtmlUnit and WebDriver extensions to enable in-process testing of web applications