regression test for 2641.

mruby 1.0.0 dumps core.
regression test for 2655.