pkg/client: refactor tests
Merge pull request #183 from proppy/client-coverage

pkg/client: refactor tests