cleanup of how ssh_test return code is captured in tests/basic