@Test
public void convertByteArrayToBinary() throws ParserException {

    byte[] bytes = {0x01, 0x02};
    Object converted = SchemaValueConverter.convert(Schema.Type.BINARY, bytes);
    Assert.assertTrue(Schema.Type.BINARY.valueOfSameType(converted));
    Assert.assertEquals(bytes, converted);
}