add TestCaseDriver and helper methods.