Add test for offline notification