started writing unit tests for socket-channels