Add tests for the socket counts.