added more tests from socket test suite