Add basic unit tests for min() and max()