Minor fixes with mocha for PulseTestReceiver