Fixed UI tests.

UI tests can now use HtmlUnit driver instead of Firefox.

Needs to be changed manually atm.