remove connectivity.py and add test.py

The version can run, now