Fix bad max_count tests