Add PatomicEntityTest::testIndex