Add failing test for custom primary key in embedded records

Hi,

This PR adds a failing test when using an embedded records with a custom primary key. I hope I'm using it correctly.