fixed code and created 6th test: new line with multiple numbers