Indexer constructor test added