DomRange.contains, tests