@Test
public void testVariableIntCompressionModel() throws IOException {
String source = "12345";
byte[] sourceBytes = source.getBytes("UTF-8");
VariableIntCompressionModel model = new VariableIntCompressionModel();
model.build(new ArrayDocumentList(sourceBytes));
byte[] compressedBytes = model.compress(sourceBytes);
Assert.assertEquals(2, compressedBytes.length);