Added echo function and assertion test.
Changed parameters of wrapper function.
Added second assertion.
Assert printer writes to a stream.
Merge branch `printer` into `master`.