repairing tests and pmip