modified test_basic_scenario adding a single fucntion for the connectivity check