tm: test ending angle bracket for From/To URI when genrating local requests

- the value can start with a display name and can end up with double
  angle bracketting