Rename LogTestCaseFactory to LogTestCase.
Fix tests.