full integration test from python urllib