DOCTESTS: fix errors and simplify tutorial

cc @agramfort