test_base_request response['data'] should be bytes