TestCase class integrated with client