implemented test for ndmap::get_min_max