Fixing RegiterNotificationServiceTest