fix component tests