PLD: add xhr mock to test call