test for pair socket