Added 2 testcases for function getPartsFromSection