updated tests to reflect `autoConnect` option