Fix usage of mocks across scopes.

These specs were previously infinitely recursing due to a recent
deprecation added to this behaviour.

Speculative fix for #1269.