trials: repaired doctests