added tests for error handling during record event
Merge pull request #13 from benSlaughter/Issue7

added tests for error handling during record event