add client tests and switch to opmock