Partial commit of Chapter 22 summary
Example of a test writing into a file and checking the output.
Using ducktyping. Passing a string instead of a file.
Using an array instead of a file.