Add a simplest unit test for socket