fixed tests when overwriting existing annots, should raise KeyErrors

Original tests were incorrect. In this case, when setting '--replace', the original annotations are removed and completely replaced with the new ones. Hence, accessing existing annotations should raise KeyErrors.