This commit adds some unit tests for properties of rest_client. Change-Id: I5237f7140c6b6410564b0e5b1912ca667e7d2e29