Added tests for delete and notices/alerts