Fix mock loopback tests & receiver chain.

* Fix bugs from checkin last night including PDMA and receiver chain.
* Add more verbose logging if necessary to inspect deadlocks.
* All test_driver tests pass again.