fixes to problems that were exposed by removing the doctest-ignore lines, cf #66