Improve Client test suite

The client test suite now test for the following cases:
- Create a new client (using a random client id)
- ClientID too long
- Existing ClientID