diff --git a/modules/io/tests/test_io_pdb.cc b/modules/io/tests/test_io_pdb.cc
index 9176f462c4ce9a0cb925a91cbdada29bf1bd27b1..ffc6dd286154a33680f950b6c6c47667f9581601 100644
--- a/modules/io/tests/test_io_pdb.cc
+++ b/modules/io/tests/test_io_pdb.cc
@@ -788,7 +788,7 @@ BOOST_AUTO_TEST_CASE(res_num_too_low)
   
   mol::EntityHandle ent=mol::CreateEntity();
   mol::XCSEditor edi=ent.EditXCS();
-  mol::ChainHandle ch = edi.InsertChain(String(1, 'A'));;
+  mol::ChainHandle ch = edi.InsertChain("A");
   mol::ResidueHandle r = edi.AppendResidue(ch, "ARG");
   edi.InsertAtom(r,"N",   geom::Vec3(26.861, 50.841, 38.803), "N");
   edi.InsertAtom(r,"CA",  geom::Vec3(27.437, 49.969, 37.786), "C");
@@ -813,7 +813,7 @@ BOOST_AUTO_TEST_CASE(res_num_too_high)
   
   mol::EntityHandle ent=mol::CreateEntity();
   mol::XCSEditor edi=ent.EditXCS();
-  mol::ChainHandle ch = edi.InsertChain(String(1, 'A'));;
+  mol::ChainHandle ch = edi.InsertChain("A");
   mol::ResidueHandle r = edi.AppendResidue(ch, "ARG");
   edi.InsertAtom(r,"N",   geom::Vec3(26.861, 50.841, 38.803), "N");
   edi.InsertAtom(r,"CA",  geom::Vec3(27.437, 49.969, 37.786), "C");