nested indexing and not modified tests