Add Client tests

Fixes #7