added Client tests