Return output buffering for tests BC