Fix for Submgr crash added
 - Submgr crashed if it received REST Subscription Request while it was still starting

Change-Id: Ie434333ccf2b269c9f8dcf7a82fd60f12fa87ebc
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
diff --git a/pkg/control/ut_messaging_test.go b/pkg/control/ut_messaging_test.go
index 9c2874b..e10cdff 100644
--- a/pkg/control/ut_messaging_test.go
+++ b/pkg/control/ut_messaging_test.go
@@ -39,7 +39,7 @@
 
 	SetPackerIf(e2ap_wrapper.NewUtAsn1E2APPacker())
 
-	restDuplicateCtrl.Init()
+	mainCtrl.c.restDuplicateCtrl.Init()
 
 }