test with client