[db] fix test for successful update