Only test regexes with aggregation if version > 2.3.2. SERVER-6470

There was a bug in the server that returned regexes from an aggregation as strings.  Skip testing regexes with aggregation if version is not >= 2.3.2.