Implement tesseract.core/defcomponent & basic test