updating tests around min of pair