tests for notifications