work on test error reporting
More WIP
Pending tests for notification errors
Add proper error handling to test