Add unit test for markDuplicate() on the Command line level.