Add tests for repeated slicing.

Detected a JRuby byteslice bug, where the string offset from the first
byteslice was used twice in the second byteslice.
Merge pull request #214 from grddev/repeated_slicing

Add tests for repeated slicing.