[refactor] Refactor Util.Methods.max/min API per Brandon's suggestion
[test] Add unit tests for ban min/max