test NewPIndex with bad index mapping