DatabaseEncodingTest tweaks

A few more periodic commits when inserting (there was already one).

Additionally, don't restrict the fetch size to 1. That is covered elsewhere (e.g. CursorFetchTest) and doesn't add anything but slowness here.