Update test case to ensure passive rep socket works