Add failing test

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