Ignore newlines in filter tests