Extend database update test

Put in some basic verification that the database update doesn't clobber
actual data in the original db.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>