Added test case about new line