add a regression test for mruby/mruby#1579.