Refactored doc tests to allow each step to specify a type, to allow
mixed tests needed for the mocks page