Fix rest test for new db update.