add tests in TestAltLU for getP