Added unit tests around the socket worker thread
TODO
Better Group ID