fix tests after giving URI instead of URL object in request options