Add test case in core/util/utils_test.go
Add test case in core/util/utils_test.go

Added a test case to pass through all of the function.
But not 100% coverrage.

Change-Id: I0fc47568e42409a0a6db0dff3417fb5a38ae3618
Signed-off-by: Nao Nishijima <ba12c351dbe96870a968dc0b0668a4a809432a94@hal.hitachi.com>

xixuejia/fabric,manish-sethi/fabric-sidedb,lukehuangch/fabric,gabre/fabric,mffrench/fabric,stonejiang208/fabric,bcbrock/fabric,blockc/fabric,chrisguoado/fabric,mqshen/fabric,Ryan--Yang/fabric,tkuhrt/fabric,cophey/fabric,ckeyer/fabric,mqshen/fabric,ibmmark/fabric,vdods/fabric,vpaprots/fabric,mqshen/fabric,Ryan--Yang/fabric,gabre/fabric,mffrench/fabric,hyperledgerchina/fabric_zh_CN,vdods/fabric,akihikot/fabric,kchristidis/fabric,rameshbabu79/fabric,hyperledgerchina/fabric_zh_CN,thakkarparth007/fabric,hyperledger/fabric,blockc/fabric,bcbrock/fabric,phariel/fabric,christo4ferris/fabric-docs,bcbrock/fabric,manish-sethi/fabric-sidedb,akihikot/fabric,christo4ferris/fabric-docs,lukehuangch/fabric,mqshen/fabric,gabre/fabric,bmos299/fabric,rameshthoomu/fabric,mffrench/fabric,king3000/fabric,akihikot/fabric,ckeyer/fabric,binhn/fabric,vdods/fabric,king3000/fabric,chrisguoado/fabric,linchaoyang/fabric,phariel/fabric,rameshbabu79/fabric,thakkarparth007/fabric,lukehuangch/fabric,manish-sethi/fabric-sidedb,cophey/fabric,muralisrini/fabric,magg/fabric,hyperledgerchina/fabric_zh_CN,bcbrock/fabric,vpaprots/fabric,ibmmark/fabric,Ryan--Yang/fabric,chrisguoado/fabric,corecode/fabric,lukehuangch/fabric,masterDev1985/fabric,stonejiang208/fabric,kchristidis/fabric,masterDev1985/fabric,akihikot/fabric,muralisrini/fabric,akihikot/fabric,blockc/fabric,cophey/fabric,mffrench/fabric,lukehuangch/fabric,christo4ferris/fabric-docs,mffrench/fabric,stonejiang208/fabric,corecode/fabric,corecode/fabric,bmos299/fabric,Ryan--Yang/fabric,phariel/fabric,bmos299/fabric,ibmmark/fabric,thakkarparth007/fabric,king3000/fabric,king3000/fabric,chrisguoado/fabric,manish-sethi/fabric-sidedb,linchaoyang/fabric,akihikot/fabric,vpaprots/fabric,Ryan--Yang/fabric,Ryan--Yang/fabric,binhn/fabric,linchaoyang/fabric,tkuhrt/fabric,xixuejia/fabric,rameshbabu79/fabric,corecode/fabric,phariel/fabric,rameshthoomu/fabric,blockc/fabric,linchaoyang/fabric,kchristidis/fabric,king3000/fabric,ckeyer/fabric,ckeyer/fabric,mqshen/fabric,magg/fabric,vdods/fabric,vdods/fabric,mffrench/fabric,tkuhrt/fabric,kchristidis/fabric,magg/fabric,corecode/obc-peer,lukehuangch/fabric,masterDev1985/fabric,Ryan--Yang/fabric,jimthematrix/fabric,cophey/fabric,christo4ferris/fabric-docs,bcbrock/fabric,hyperledgerchina/fabric_zh_CN,christo4ferris/fabric-docs,bcbrock/fabric,masterDev1985/fabric,kchristidis/fabric,bmos299/fabric,manish-sethi/fabric-sidedb,bmos299/fabric,ibmmark/fabric,linchaoyang/fabric,thakkarparth007/fabric,linchaoyang/fabric,corecode/fabric,manish-sethi/fabric-sidedb,muralisrini/fabric,thakkarparth007/fabric,xixuejia/fabric,christo4ferris/fabric-docs,kchristidis/fabric,cophey/fabric,hyperledgerchina/fabric_zh_CN,chrisguoado/fabric,thakkarparth007/fabric,phariel/fabric,lukehuangch/fabric,rameshthoomu/fabric,cophey/fabric,vpaprots/fabric,masterDev1985/fabric,rameshthoomu/fabric,ibmmark/fabric,tkuhrt/fabric,tkuhrt/fabric,ibmmark/fabric,binhn/fabric,tkuhrt/fabric,phariel/fabric,stemlending/fabric,vpaprots/fabric,cophey/fabric,stonejiang208/fabric,ckeyer/fabric,stemlending/fabric,corecode/fabric,phariel/fabric,rameshthoomu/fabric,hyperledgerchina/fabric_zh_CN,bmos299/fabric,manish-sethi/fabric,rameshthoomu/fabric,blockc/fabric,blockc/fabric,hyperledger/fabric,chrisguoado/fabric,stemlending/fabric,gabre/fabric,tkuhrt/fabric,mffrench/fabric,chrisguoado/fabric,magg/fabric,hyperledgerchina/fabric_zh_CN,mqshen/fabric,manish-sethi/fabric-sidedb,kchristidis/fabric,stonejiang208/fabric,magg/fabric,jimthematrix/fabric,rameshbabu79/fabric,magg/fabric,ibmmark/fabric,manish-sethi/fabric,rameshthoomu/fabric,rameshbabu79/fabric,thakkarparth007/fabric,stemlending/fabric,blockc/fabric,magg/fabric,linchaoyang/fabric,mqshen/fabric,bmos299/fabric,ckeyer/fabric,gabre/fabric,bcbrock/fabric,king3000/fabric,king3000/fabric,ckeyer/fabric,gabre/fabric,hyperledgerchina/fabric_zh_CN,akihikot/fabric,corecode/fabric,gabre/fabric