fix test data fetching script to conform to new response handler API