init client and tests