test: fix broken assertions on Ruby 1.9.3dev