Adds test cases for update and batch-write(delete)