added tests for notifications