Unit tests for getTileSegments and isLocalMin/isLocalMax. Refs #20.