Added ability for index to _getNode to be negative, and a test to make sure it works.