[FAB-4069] Write unit tests for peer/version
[FAB-4069] Write unit tests for peer/version

This patch adds a test for the package peer/version.
Code coverage is 100%.

Change-Id: Iba6e4bb81314b3341ede23748a4d7ad02051dd3f
Signed-off-by: Yuki Kondo <77561f1dfca6e25a5bb8ad37bc6f33030d4f6882@hal.hitachi.com>

muralisrini/fabric,lukehuangch/fabric,phariel/fabric,lukehuangch/fabric,ibmmark/fabric,ckeyer/fabric,mqshen/fabric,ibmmark/fabric,kchristidis/fabric,magg/fabric,blockc/fabric,magg/fabric,stemlending/fabric,blockc/fabric,xixuejia/fabric,mqshen/fabric,mqshen/fabric,mqshen/fabric,mqshen/fabric,stemlending/fabric,binhn/fabric,cophey/fabric,cophey/fabric,jimthematrix/fabric,ibmmark/fabric,mqshen/fabric,chrisguoado/fabric,tkuhrt/fabric,binhn/fabric,magg/fabric,hyperledger/fabric,blockc/fabric,magg/fabric,ckeyer/fabric,lukehuangch/fabric,ckeyer/fabric,kchristidis/fabric,xixuejia/fabric,Ryan--Yang/fabric,blockc/fabric,ibmmark/fabric,chrisguoado/fabric,manish-sethi/fabric-sidedb,chrisguoado/fabric,cophey/fabric,binhn/fabric,thakkarparth007/fabric,thakkarparth007/fabric,kchristidis/fabric,phariel/fabric,phariel/fabric,magg/fabric,tkuhrt/fabric,blockc/fabric,magg/fabric,ibmmark/fabric,manish-sethi/fabric-sidedb,thakkarparth007/fabric,lukehuangch/fabric,mqshen/fabric,cophey/fabric,manish-sethi/fabric-sidedb,chrisguoado/fabric,kchristidis/fabric,manish-sethi/fabric-sidedb,ckeyer/fabric,thakkarparth007/fabric,tkuhrt/fabric,ckeyer/fabric,kchristidis/fabric,kchristidis/fabric,magg/fabric,Ryan--Yang/fabric,manish-sethi/fabric,Ryan--Yang/fabric,ckeyer/fabric,cophey/fabric,muralisrini/fabric,chrisguoado/fabric,lukehuangch/fabric,hyperledger/fabric,muralisrini/fabric,tkuhrt/fabric,manish-sethi/fabric-sidedb,chrisguoado/fabric,cophey/fabric,manish-sethi/fabric-sidedb,phariel/fabric,kchristidis/fabric,blockc/fabric,phariel/fabric,ibmmark/fabric,phariel/fabric,ckeyer/fabric,thakkarparth007/fabric,blockc/fabric,tkuhrt/fabric,phariel/fabric,ibmmark/fabric,Ryan--Yang/fabric,stemlending/fabric,lukehuangch/fabric,stemlending/fabric,Ryan--Yang/fabric,Ryan--Yang/fabric,thakkarparth007/fabric,Ryan--Yang/fabric,tkuhrt/fabric,thakkarparth007/fabric,manish-sethi/fabric-sidedb,chrisguoado/fabric,jimthematrix/fabric,manish-sethi/fabric,xixuejia/fabric,cophey/fabric,lukehuangch/fabric,tkuhrt/fabric