Added another multidimensional test for max