improve test -- make sure test detects newlines before parsing