Python 3 fix for request data extractor test