Extend calculator tests.
Also add additional notes to `get_widths_and_lines`-docstring.