Fix exception when run unit test with HtmlUnit webdriver

There are 2 problems:
- htmlunit webdriver doesn't understand webElement.getAttribute("className")
- search by using ByJQuery class will try to enrich the page, but before it try to inject jquery, it throw an JS exception, but htmlUnit will consider this is an fail test --> workaroud: don't use ByJQuery before the test is finished