tidied up locategoodsectionsnode and made tests a tiny bit more rigorous