Fixes some test failures due to Array#to_s behaviour in ruby1.9.
Authored by: jplang 2009-10-10
Parent: [r2912]
Child: [r2914]