some string type fixes in the wrappers testsuite
ensure cookie dumping works on py3