Test insert record.