lazy eval stream added test cases and clarification on eof