Added text-element range test.
Added unit tests
Added edge case scenario
Merge pull request #2 from blinkboxbooks/test/range

Added support for ranges between element and text nodes when generating range CFIs.