some tests for Client