added test for issue #796
issue #796: Searching with newline chars broken?