updated tests for max_total_connections