Fix for issue #34
Wrote a more complete test
CR Fix
Merge pull request #36 from ArcBees/spg_issue_34

Closes #34