[ADD] Added test case for updateEntry() method with various flags.