Do not run this streaming test in Ruby 1.8, fix syntax error
Remove warning of not used variable