fix(driver-compat) pass correct socketFactory in test