Fix LPM tests