Fixed bug in buildTestCase.
-ININ.