@Test
public void testReplace() {

  String testInput = "zzzdogzzzdogzzz";
  eval.update("dog", 0, "cat", testInput);
  assertEquals("zzzcatzzzdogzzz", eval.replaceFirst);
  assertEquals("zzzcatzzzcatzzz", eval.replaceAll);
}