Fix the template $index test so it actually tests that $index is correctly set when the binding context is updated.
Fix the template $index test so it actually tests that $index is correctly set when the binding context is updated.

moonpyk/knockout,JesseQin/knockout,martijnwetering/knockout,Sir0xb/knockout,stonegithubs/knockout,gwokudasam/knockout,bago/knockout,gwokudasam/knockout,bago/knockout,xeronith/knockout,getshuvo/knockout,brianmhunt/knockout,pianove/knockout,pianove/knockout,hitesh97/knockout,skyh/knockout,skyh/knockout,JesseQin/knockout,mattbalmer/knuckles,youprofit/knockout,brianmhunt/knockout,DekeYan/knockout,hitesh97/knockout,ErikSchierboom/knockout,xeronith/knockout,stonegithubs/knockout,DekeYan/knockout,moonpyk/knockout,mattbalmer/knuckles,martijnwetering/knockout,getshuvo/knockout,ErikSchierboom/knockout,cgourlay/knockout,youprofit/knockout,cgourlay/knockout,Sir0xb/knockout