remove connectivity.py and add test.py