Finished test for dispatching for the index