add component and test case