added the unit test for master in notifier rest functions