Add tests for socket manager logging