Added new range component unit test.

The new test covers generating a range component between a text node in
an element node and a text node with the same parent.
Fix for sub-path range component CFI generation.

This fixes the generation of range components between a text node in an
element node and a text node with the same parent as the element node.