[relate][within] add tests for Linestrings with duplicated points