Partly implemented the test class runner.