Update APIs

Change-Id: I4d0754cc648b66e97d451d2f2d0369a5f686f237
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
diff --git a/pkg/xapp/xapp.go b/pkg/xapp/xapp.go
index f778265..06e3bfc 100755
--- a/pkg/xapp/xapp.go
+++ b/pkg/xapp/xapp.go
@@ -30,9 +30,16 @@
 	"strings"
 	"sync/atomic"
 	"syscall"
+	"testing"
 	"time"
 )
 
+// For testing purpose
+var _ = func() bool {
+        testing.Init()
+        return true
+}()
+
 type ReadyCB func(interface{})
 type ShutdownCB func()
 
diff --git a/pkg/xapp/xapp_test.go b/pkg/xapp/xapp_test.go
index 388d079..79c790b 100755
--- a/pkg/xapp/xapp_test.go
+++ b/pkg/xapp/xapp_test.go
@@ -32,10 +32,10 @@
 	"time"
 )
 
-//var _ = func() bool {
-//	testing.Init()
-//	return true
-//}()
+var _ = func() bool {
+	testing.Init()
+	return true
+}()
 
 type Consumer struct{}