Fix missing argument

Event fire is called in getIndex() with 'foo' and an array. In the testGetIndex() it only contains an array.