Python indexer and test.