added tcp_server eunit testing
fixed line style for readability