test for client functions