added a new test: when_insert_existed_id.c