@Test
public void testGetAsInt() {

  final int[] etalon = new int[] {-27834 & 0xFFFF, 23423, 0, -2 & 0xFFFF, 3};
  for (int i = 0; i < etalon.length; i++) {
    assertEquals(etalon[i], test.getAsInt(i));
  }
}