Completed tests for class AbstractSocket