Add LastInsertId
assign auto increment pk after insert
insert test modified

for assigning auto increment pk column
Modify to set the last inserted id to the primary key of the passed instance to Insert