Re #6036. Added tests for getEventXMin/Max.