use fresh connection for each test case
fix: missing test case
fix: bash history test and handling