Add test for client.