@Test
public void testCheck_invalidDataDirectory() {

  try {
    checker.check(otherDirectory);
    Assert.fail();
  } catch (AppException e) {
    Assert.assertEquals(e, new AppException("Data file is invalid."));
  }
}