Fix connection parameter references in unit tests