Added new test to check for stdout vs output streams