Unit Test: Updated to better test
Changed this.index to this.getIndex() and this.setIndex()
Merge commit '8fea24d2a08a38eaf65015c0ee1c022f9c9e89f1' into spriteIndex