testing that the db actually is updated.