Fix a db test

Change-Id: I066ad43ce1d9d7d80cd85f59e376fc1a18f6df15