Remove custom stdout patching in favor of mock