It would also be nice to have a test for the case when points are on both sides and close to the date line