add test for math/max math/min