added test case for multiple lines
test case for new lines added
added function for new lines.