Fix GetSectionList and add test
Merge pull request #10 from ncw/fix-get-section-list

Fix GetSectionList and add test