Adds test for exceptions on notification worker