Fixed #23522 -- Changed reverse() to return a text string; not bytes

I would name the test `test_reverse_text`.