* Fixes #1936 doctests of the book still need to be verified * a fix that is related to #1940 * add test for what was actually reported