Make destructor of test case virtual.