test for component