Switched functional tests to unittest system

Ported the first test for browser title over to this style