Replaced ''' with """
Refactored code to reduce copy/paste
Updated tests to account for an improvement in error reporting
Included a better path to the docs dir
Refactored some checking to increase code coverage
Removed doctests from typical test flow
Updated version in documentation