merge wsconn test case
optimize logic bus