Add test cases for lines starting or ending on the anti-meridian