fixed errors when using TAR
empty collection of tests wasn't handled correctly in runTests
isTestCaseClass was missing, replaced by isKindOf: TestCase class