add tests for reverse-words-in-string