Looks like you found a bug in `stub_chain` that we should fix.  In your example, `a` is _not_ test double.  Also we should fix the wording so it says "pure test double" vs "partial double" rather than using `mock` in the message.