fixed test
Merge pull request #921 from gauravgopi123/fix_socket_test

fixed test