fixed indentation error in test_connect.py