Added socket test