WIP
Added tests for socket server