fix issue #1: add a test for MR DTRT with deferreds