merge revision(s) 39359:

	Add test for [Backport #7896] [ruby-core:52607]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e