Ref: keep connection configurations for test in one place and reuse it.