cleanup xbrowser tests, test connection teardown