working reg test and handle weird repeated primary key in google e2e

good checkpoint for RFC6637 compliance