Fixing HtmlUnitDriver to throw SessionNotFoundException and
NoSuchWindowException when appropriate