implemented htmlunit tests and updated selenium driver. Added support for phantomJS tests