VOL-1247 : Modified change tuple to include previous and latest data

VOL-1214 : Fixed logs to use the proper mechanism

- Added missing license
- Moved one change tuple statement which would not include proper info

Change-Id: I5a02f6fe92c8b193642294d62f4413ac6edc0c62
diff --git a/db/model/root_test.go b/db/model/root_test.go
index 68d7f2a..670e7e8 100644
--- a/db/model/root_test.go
+++ b/db/model/root_test.go
@@ -17,7 +17,7 @@
 
 import (
 	"encoding/json"
-	"fmt"
+	"github.com/opencord/voltha-go/common/log"
 	"github.com/opencord/voltha-go/protos/voltha"
 	"testing"
 	"time"
@@ -44,16 +44,16 @@
 
 	r := root.Load(msgClass)
 	afterLoad := time.Now()
-	fmt.Printf(">>>>>>>>>>>>> Time to Load : %f\n", afterLoad.Sub(start).Seconds())
+	log.Infof(">>>>>>>>>>>>> Time to Load : %f\n", afterLoad.Sub(start).Seconds())
 
 	d := r.node.Get(deviceProxy, "", 0, false, "")
 	afterGet := time.Now()
-	fmt.Printf(">>>>>>>>>>>>> Time to Load and get: %f\n", afterGet.Sub(start).Seconds())
+	log.Infof(">>>>>>>>>>>>> Time to Load and get: %f\n", afterGet.Sub(start).Seconds())
 
 	jr, _ := json.Marshal(r)
-	fmt.Printf("Content of ROOT --> \n%s\n", jr)
+	log.Infof("Content of ROOT --> \n%s\n", jr)
 
 	jd, _ := json.Marshal(d)
-	fmt.Printf("Content of GET --> \n%s\n", jd)
+	log.Infof("Content of GET --> \n%s\n", jd)
 
 }