Add unittest for types_client

Add test cases that are missing from ``types_client`` and increase the
normality of the api interface.

Change-Id: If45b9f9b384981fea088043108577921b9ca10b2
1 file changed