added 2 test cases: add and update in ParserTest to test the interaction
with Parser andExtractor.