Added : tests on socket