fix web tests
[MERGE] trunk-test-al easier http testing
[IMP] add test_ui
[IMP] test_ui shorter code
[IMP] phantomjs helper simplification