fix core component tests.