The README states:
If you have a unique index on a foreign key column then there are chance the constraint creation would fail, since mockd doesn't pick up unique value for foriegn key value it picks up random values from the reference table.
For me this manifested in this query being listed in a log file:
ALTER TABLE public.playlisttrack ADD CONSTRAINT pk_playlisttrack PRIMARY KEY (playlistid, trackid);
On checking the data manually, I see this:

So yes indeed, this PK could not be recreated.
Are there any strategies to avoid this?