Fixes some test failures due to Array.to_s behaviour in ruby1.9.
Authored by: jplang 2009-03-24
Parent: [r2616]
Child: [r2618]