only dump response if environment variable DEBUG set, remove print uri from test