adding a test for max, and also changing the tests to check for upto 4 return arguments