Fix out-of-date string codec test.