ByteArray WriteHandler spec for JRuby