PLD: proper mocking