- added test with error being raised as part of the input stream