Add test case for socket ID