Test for client