Doctest, puppet modes