Remove `isNear` and Fix the tests