adding test case for client