Unit tests for abstract client and client.