added min_max + unit test and doc
micro fix asked by a maintainer
Merge pull request #382 from UnixJunkie/min_max_for_BatList

added min_max + unit test and doc