Start adding execption handling and tests
Two exception tests pass
Finish exception handling tests
Merge pull request #36 from anchor/wip-exceptions

Catch exceptions and handle them appropriately