Database: check that updating a row bumps the generation count of the table

This test currently passes.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>