Now that get-index handles bytestrings, update docs for first, second,
third, fourth and fifth, and add unit tests.