Strengthened test to confirm int indexing issue.

Refs #232.
Fix the negative int indexing issue.

Closes #232.