@Test
public void testBasicSuccessFailure() {

  assertTrue(fencer.tryFence(TEST_TARGET, "echo"));
  assertFalse(fencer.tryFence(TEST_TARGET, "exit 1"));
  // bad path should also fail
  assertFalse(fencer.tryFence(TEST_TARGET, "xxxxxxxxxxxx"));
}