Part of OOIION-709. Fixes a bug in delete notification() of UNS

* Fixes the bug. Now get_subscriptions() should not pick up the deleted notifications
* Adds test code to verify that delete_notifications() work as expected