ParserTest: Refactor with valid partitions & invalid add/update parition