Tests for balanced-ruby issue #110