fixed the test for the summing-out procedure for the new structures