Modified the functional test greatly.
It now uses several methods provided by the Selenium browser object.
Check test docs for more info.