add test for notifications in bg threads