write simple test for notifications