improved test: now with response data