Test inserting data