fix dup items in index.rst and long line in test_connection.py