streaming test doesn't work with rails 3.x