Added test for the rare case of a composite primary key