Added unit tests for:

 + min
 + max
 + min_by
 + max_by
 + none