Add tests for connection count and idle time.