you should also add a test to check termination of -- comment by newline