Integration fixes - test_time_tcp.py

I have changed the imports as the script was failing due to imports and changed logic since we were not able to contact any of the ntp servers we were receiving null array which made the code to fail.