Adjust retrieveDbRecord test helper method