fix in doPostConnect test case