Add string comparison tests.

Use computed string to exercise string interning code better.