reduce mrb_open calls in mrbgem test
Merge pull request #1838 from take-cheeze/reduce_mrb_open_in_test

Reduce mrb_open calls in mrbgem test.