Add unit tests for refstack-client

ref: https://storyboard.openstack.org/#!/story/119
Change-Id: I8ce0efc9182fde667878ccc993d4fc725b2f855a