add test for SmartConnect with certFile/keyFile