Tests for adapter's insert() and update()