Fix for Issue #1

Fix output consistency for vertex indices, (issue #1) and add
consistency unit tests.