added integration spec for custom primary key