Database access: support and test for tuple inserts.