Adapt tests to allow trailing dot with different separator

Adapts a test to the change 7fd10b5328f54d9eb407f8b1c3e122986ed84b36