add mock client testing