Restore geometry verification in unit test

I had removed this at one point during some refactoring.
Merge pull request #293 from agouge/st_sp-restore-test

Restore geometry verification in unit test