diff --git a/modules/io/tests/test_io_pdb.cc b/modules/io/tests/test_io_pdb.cc
index 44b7f3db415e838848633ae7d656f5d7b59efaf7..7aa38875cc8cd0ce013d1cd8977f2e0f9fa22114 100644
--- a/modules/io/tests/test_io_pdb.cc
+++ b/modules/io/tests/test_io_pdb.cc
@@ -72,7 +72,7 @@ BOOST_AUTO_TEST_CASE(join_spread_records_off)
   PDBReader reader(fname);
   mol::EntityHandle ent=mol::CreateEntity();
   reader.Import(ent);
-  BOOST_CHECK_EQUAL(ent.GetResidueCount(), 2);
+  BOOST_CHECK_EQUAL(ent.GetResidueCount(), 3);
   mol::ResidueHandle res1=ent.FindResidue("A", mol::ResNum(1));
   BOOST_CHECK(res1.IsValid());
   BOOST_CHECK_EQUAL(res1.GetAtomCount(), 1);