Fixed doctest and removed test code.
Merge pull request #48 from cel4/fix_utils

Fixed doctest and removed test code.