Added unit tests for TCP/IP connection of StimServer/Client