Prefer executable code examples
Need to include the imports
Merge pull request #307 from alex/prefer-doctest

Prefer executable code examples