Ported some failing functional tests to phpunit+selenium