Tested files. Changed Reader and Writer construction from filename to stream.
Redirecting log stream (stdout by default).
Test specification.