rebuild client successfully, and test for basic function