add a test for using stream to parse a file