Adding test for sending an error
Merge pull request #6 from eliperkins/feature/add-test-for-failure

Adding test for sending an error