Add test to check we don't get notifications for empty pipelines