test: accept trailing line feed