Add unit tests on client CLI v2

Change-Id: Ia964346471072b9f5be9572027f6764ce6615648