Added error stream to test