I think that maybe, you should add some test for get index method.