PLD: add standard errors, more test coverage