add test cases of duplicate keys in one tx.

Signed-off-by: Siyuan Zhang <sizhang@google.com>