@Test
public void testGetCorrectVersion() throws Exception {

  final int version = 2;
  JNCryptor cryptor = JNCryptorFactory.getCryptor(version);
  assertEquals(version, cryptor.getVersionNumber());
}