improved logging of TestComponent