Tested on ruby-2.1.0-rc1