add test for reading a line until null is returned from bytebuf input stream & remove empty line test case