Add test for max_str_len and max_bin_len.