client base for test