Update test to account for the ported bug fix in f9439a0

The aggregate functions may now be MAX() or MIN() instead of just min().