Added a sampe entity and inserted a record into the matching table