added index for restapi tests