I don't like this part, because if we're never called with the right actionMsg, we'll never assert this, and the test will still pass. Is it possible to check everything in the same branch than where "done" is called?