def test_min_max_word_validation(mock_record):
    """Validate against min/max word restrictions"""
    key = 'Text List Word Limit'

    with pytest.raises(ValidationError):
        mock_record[key] = ['word ' * 10]

    with pytest.raises(ValidationError):
        mock_record[key] = ['word']