Add #capture to the output stream mocks.