fixing webdriver stub's Application object
fixing unit tests