fixed detection of the TestCase baseclass, updated comments