move old index into tests as backup
eliminate old code not needed