Test case for strings containing other tokens.