fix receiver tests
Merge pull request #2652 from dimagi/receiver-tests

fix receiver tests