specify UTF-8 encoding in Scanner
line break support
factored out creation of a decent scanner to new test utility class