Extract std::string protocol traits for tests into a file of its own

Change-Id: I0c2a2816ae933bcdbffac6e037ed43d029dce890
8 files changed