Fix comments from review.

Use _ for ivars.
Move string utilities into StdUtil.
Minor style changes.
Add back mistakenly missing test case file.