Introduce index for tests.