added test for median/point overlap