added index to the test