UserKeyLoader and client test