added index tests